package view.layer
{
	//游戏
	
	import flash.display.Bitmap;
	import flash.display.MovieClip;
	import flash.display.SimpleButton;
	
	import flash3.framework.Layer;
	
	import mx.core.MovieClipAsset;
	import model.GlobalModel;
	import view.game.*;
	import view.plugin.MessageOut;
	
	public class LayerGame extends Layer
	{
		private var curGame:GameBase;
		public function LayerGame()
		{
			super();
			curGame = new GameDdzLords();
			curGame.y = 75;
		}
		
		override public function enter():void
		{
//			GlobalModel.navigateToAddMoney();
			curGame.enter();
			addChild(curGame);
		}
		
		override public function leave():void
		{
			this.removeChild(curGame);
			curGame.leave();
		}
		
		override public function update(lastTime:int):void
		{
		}
	}
}